package com.itbaizhan.wep;

import com.itbaizhan.pojo.Users;
import com.itbaizhan.service.UsersService;
import com.itbaizhan.service.impl.UsersServiceImpl;

public class Test02 {
    public static void main(String[] args) {
        UsersService us = new UsersServiceImpl();
        //实例化Users对象，设置参数
        Users users = new Users();
        users.setUserage(26);
        users.setUserid(1);
        int i = us.modifyUsersById(users);
        System.out.println(i);
    }
}
